home *** CD-ROM | disk | FTP | other *** search
/ SuperModels in the Rainforest / SuperModels in the Rainforest.iso / rain.dxr / 00551.ls < prev    next >
Encoding:
Text File  |  1995-10-13  |  713 b   |  37 lines

  1. on exitFrame
  2.   repeat with x = 1 to 5
  3.     if rollOver(x) then
  4.       set the cursor of sprite x to [565, 566]
  5.     end if
  6.   end repeat
  7.   startTimer()
  8.   repeat while the timer < 100
  9.   end repeat
  10.   cNextShot2(1)
  11.   go(the frame)
  12. end
  13.  
  14. on keyUp
  15.   set moviemovie to the castNum of sprite 3
  16.   set the sound of cast moviemovie to 0
  17.   if the keyCode = 123 then
  18.     set the movieRate of sprite 3 to 0
  19.   else
  20.     if the keyCode = 124 then
  21.       set the movieRate of sprite 3 to 0
  22.     end if
  23.   end if
  24. end
  25.  
  26. on keyDown
  27.   set moviemovie to the castNum of sprite 3
  28.   set the sound of cast moviemovie to 0
  29.   if the keyCode = 123 then
  30.     cNextShot(-1)
  31.   else
  32.     if the keyCode = 124 then
  33.       cNextShot(1)
  34.     end if
  35.   end if
  36. end
  37.